﻿<UserControl x:Class="NarutoClient.Pages.LoginPage"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="480" d:DesignWidth="640">
    <StackPanel>
        <StackPanel.Resources>
        </StackPanel.Resources>
        <StackPanel.Background>
            <ImageBrush ImageSource="/GamedataLibrary;component/Resources/konoha.jpg" Stretch="Fill" />
        </StackPanel.Background>
        <TextBlock HorizontalAlignment="Center" FontSize="36" Margin="10">Ninja Game</TextBlock>
        <TextBlock HorizontalAlignment="Center" Margin="10">Login Page</TextBlock>
        <Grid Margin="20" Width="300">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            
            <TextBlock Grid.Row="0" Grid.Column="0">Server IP:</TextBlock>
            <TextBox Grid.Row="0" Grid.Column="1" Name="ipTextBox">127.0.0.1</TextBox>
            
            <TextBlock Grid.Row="1" Grid.Column="0">Login:</TextBlock>
            <TextBox Grid.Row="1" Grid.Column="1" Name="loginTextBox" />
        </Grid>
        <Button Name="connectButton" Click="connectButton_Click" Content="Connect" Width="100" Height="30"/>
    </StackPanel>
</UserControl>
